package com.example.community.service;

import com.example.community.entity.user;

import java.util.List;

public interface userService {
    List<user> queryUser();

    user login(String username,String password);

    user register(String username,String password);
    int addUser(user user);
    int updateUser(user user);
    int deleteUser(String id);
}
